package org.afs.gescol.core.dao.interfaces;

import java.util.List;

import org.afs.gescol.core.model.references.Appreciation;

/**
 * Dao interface for school Appreciation management.
 * @autor Kobla GBENYO (kobla.gbenyo@gmail.com)
 */
public interface AppreciationDao {

    /**
     * Get Appreciation model by its id.
     * @param id the id of the Appreciation to get
     * @return the Appreciation to get
     */
    Appreciation getAppreciationById(Long id);

    /**
     * Get a list of Appreciation models by their label.
     * @param label the label of the Appreciation to get
     * @return the list of Appreciation models those label matches with the providing label
     */
    List<Appreciation> getAppreciationsByLabel(String label);
}
